<script language='javascript' type='text/javascript' src="<?=base_url('image')?>scripts/image.js"></script>
<?php echo form_open($this->image_detail_model->url_prefix, array('enctype'=>'multipart/form-data')); ?>
<?if($msg){?><center><div class="messageBox"><?=$msg?></div></center><?}?>
<table border="0" cellspacing="0" cellpadding="0" class="infoTable">
  <tr>
    <td id='infoStr'>Tên *:</td>
    <td id='infoInput' align='left'><input name="name" id="name" type="text" value="<?=h($name)?>" size="50" readonly="readonly" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Chọn hình:</td>
    <td id='infoInput' align='left'>
<input type="file" size="30" name="imagepath" size="60" maxlength="255" />

	</td>
  </tr>
  
  <tr>
    <td id='infoStr'>&nbsp;</td>
    <td id='infoInput' align='left'>
        <input type="button" value="Lưu" class="save_button" style="cursor:pointer" onclick="return image.saveItem({start}, {item})" />&nbsp;
        <input type="button" value="Trở về" class="cancel_button" style="cursor:pointer" onclick="image.cancel({start})" />
    </td>
  </tr>
</table>
</form>